package manage.users;

import manage.book.BookList;
import manage.operation.IO;

public abstract class User {
    public String name;
    public IO[] ios;//未初始化，通过选择的操作去进行实现

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public void doOperation(int choice, BookList bookList){
        ios[choice].work(bookList);
    }
}
